package GameTable

import (
	"git.oschina.net/yangdao/SGLisp"
	"git.oschina.net/yangdao/extlib/data_type"
)

//UnitTable 玩家单位表
var UnitTable data_type.IAssociative

//Load 加载游戏表格
func Load(tablePath string) {
	if SGLisp.MainContext == nil {
		SGLisp.InitRuntime()
	}
	UnitTable = SGLisp.EvalValueFormFile(tablePath+"Unit.clj", SGLisp.MainContext).(data_type.IAssociative)
}
